using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

using log4net;
using log4net.Config;
using log4net.altconf;

namespace MCromwell.StaffIntranet.Task.Infrastructure.Logging
{
    public class Log4NetLog : ILog
    {
        private log4net.ILog actualLog;

        public Log4NetLog()
        {
            actualLog = LogManager.GetLogger("staff.task.log");
        }

        public void Error(Exception ex)
        {
            actualLog.Error("Exception occured", ex);
        }

        
    }
}
